package com.aruba.arouterapplication

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.aruba.libmodule_a.ModuleAActivity
import com.aruba.librouter_annotation.Router
import com.aruba.librouter_router.ARouter

@Router(group = "app", path = "MainActivity")
class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
    }

    fun toModule(view: android.view.View) {
        ARouter.INSTANCE.navigation(this, "module_a", "ModuleAActivity")
    }

}